<%@ page language="java" import="java.util.*,com.arice.hnust.dao.*,com.arice.hnust.bean.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%//获取学生信息
String adminstuNum = (String) request.getSession().getAttribute("loginStuNum");
String adminstuName = null;//学生姓名
String adminstuClass = null;//学生班级
ArrayList<StuInfo> adminstus = StuInfoDao.getStuByStuNum(adminstuNum);
for (int i = 0; i < adminstus.size(); i++) {
	StuInfo adminstu = adminstus.get(0);
	adminstuName = adminstu.getStuName();//学生姓名
	adminstuNum = adminstu.getStuNum();//学生班级 
}
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title><%=adminstuName %>[<%=adminstuNum %>]</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    登录成功！！！！！！！！！<%=adminstuName %>[<%=adminstuNum %>]<br>
  </body>
</html>
